package com.dxd.onlineshop.service;

import com.dxd.onlineshop.pojo.Cart;
import com.dxd.onlineshop.pojo.User;
import org.springframework.stereotype.Service;

@Service
public interface LoginService {
    /**
     * 登录
     */
    User login(String employeeId, String password);
    User register(User user) throws Exception;
    boolean checkAccountExists(String account);
    boolean checkUsernameExists(String username);


}
